﻿#ifndef HUGEMSGPANEL_H
#define HUGEMSGPANEL_H

#include "components/FWidgets/Base/FWidget.h"

namespace Ui {
class HugeMsgPanel;
}

class HugeMsgPanel : public FWidget
{
    Q_OBJECT

public:
    explicit HugeMsgPanel(QWidget *parent = nullptr);
    ~HugeMsgPanel();

    static HugeMsgPanel* showMsg(const QString& msg, int fontsize);

private slots:
    void onBtnTopClicked();

    void updateTopIcon(bool isTop);

private:
    Ui::HugeMsgPanel *ui;
    QPushButton* m_btnTop;
};

#endif // HUGEMSGPANEL_H
